// 在线客服
const route = {
  path: '/im_workBench',
  name: 'webchat',
  redirect: '/im_workBench/index',
  meta: {
    title: '在线客服',
    roles: ['im_workBench'],
    icon: 'zaixiankefu-weixuan',
    activeIcon: 'zaixiankefu-xuanzhong',
    group: 'toolBar'
  },
  component: () => import(/* webpackChunkName: "main-index" */ '@views/index.vue'),
  children: [
    {
      path: 'index',
      meta: {
        roles: ['im_workBench']
      },
      component: () => import(/* webpackChunkName: "webchat" */ '@views/webchat/index.vue'),
      children: [{
        name: 'webchatCard',
        path: ':activeName/:id',
        component: () => import(/* webpackChunkName: "webchatCard" */ '@views/webchat/webchatSummary.vue')
      }]
    }
  ]
}

export default route
